package com.ruoyi.project.cyq.order.mapper;

import com.ruoyi.project.cyq.order.domain.OrderGenre;

import java.util.List;

/**
 *
 */
public interface OrderGenreMapper {
    OrderGenre selectByGenreId(long id);


    List<OrderGenre> selectList();

    //检查类型名是否重复
    OrderGenre checkGenreNameUnique(String orderName);

    //添加
    int insertGenre(OrderGenre orderGenre);

    //更新
    int UpdateById(OrderGenre orderGenre);

    //删除
    int deleteGenreByIds(long[] genreIds);
}
